package com.ruicar.afs.cloud.afscase.loanmoderuleinfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.loanmoderuleinfo.entity.LoanModeRuleInfo;

import java.text.ParseException;

/**
 * @author panhj
 */
public interface LoanModeRuleInfoService extends IService<LoanModeRuleInfo> {

    /**
     * 停用规则
     * @param id
     * @date 2020/8/28
     */
    void deActiveRule(Long id) throws ParseException;
    /**
     * @param id
     * @author panhj
     * @deprecated 启用规则
     * @date 2020/8/28
     */

    void activeRule(Long id) throws ParseException;

    /**
     *  更新放款模式同步信息
     * @param id
     * @author panhj
     * @date 2020/8/31
     */
    void updateGpsRulesInfo(Long id);
}
